Skip to content

[DIRMINA-1197] Modernize Java CI workflow#53

Merged
elecharny merged 3 commits into
apache:2.2.Xfrom
ppkarwasz:feat/actions-2.2.X
Jun 4, 2026
Merged

[DIRMINA-1197] Modernize Java CI workflow#53
elecharny merged 3 commits into
apache:2.2.Xfrom
ppkarwasz:feat/actions-2.2.X

Conversation

@ppkarwasz
Copy link
Copy Markdown
Member

Update the GitHub Actions workflow to current action versions and runners, and clarify its comments.

  • Pin to ubuntu-latest, windows-latest and macos-latest, testing JDK 17, 21 and 25 on Temurin.
  • Bump actions/checkout to v6 (without persisting credentials), actions/setup-java to v5 (with Maven caching), and add an actions/upload-artifact@v7 step for the surefire reports.
  • Limit push builds to the maintained production branches so internal feature branches are not built twice.
  • Add a workflow-level concurrency group that cancels superseded pull request runs while letting pushes to the production branches run to completion.
  • Run mvn verify instead of mvn test, and set per-job permissions.

Assisted-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

ppkarwasz added 2 commits June 4, 2026 09:51
Update the GitHub Actions workflow to current action versions and runners, and clarify its comments.

- Pin to ubuntu-latest, windows-latest and macos-latest, testing JDK 17, 21 and 25 on Temurin.
- Bump actions/checkout to v6 (without persisting credentials), actions/setup-java to v5 (with Maven caching), and add an actions/upload-artifact@v7 step for the surefire reports.
- Limit push builds to the maintained production branches so internal feature branches are not built twice.
- Add a workflow-level concurrency group that cancels superseded pull request runs while letting pushes to the production branches run to completion.
- Run `mvn verify` instead of `mvn test`, and set per-job permissions.

Assisted-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@elecharny
Copy link
Copy Markdown
Contributor

Hi Piotr,

some information:

  • branches 2.0.X and 2.1.X won't work with java > 1.8
  • The maven command should be mvn clean install -Pserial (the 'serial' profile is necessary to build all the modules.

@elecharny elecharny merged commit d3af7f2 into apache:2.2.X Jun 4, 2026
5 of 9 checks passed
@ppkarwasz ppkarwasz deleted the feat/actions-2.2.X branch June 4, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants